<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="Distribution" content="Global" />
    <meta name="Author" content="Erwin Aligam - ealigam@gmail.com" />
   
    <link href="/site_media/css/techmania.css" rel="stylesheet" type="text/css" media="screen" />
    {% block extraheaders %} {% endblock %}

    <title> LugTrelew | {% block title %} bienvenido a Lugtrelew {% endblock %} </title>
	
</head>

<body>
<!-- wrap starts here -->	
<div id="wrap">

		<div id="header">
		
			<h1 id="logo-text">{% block blog_autor %} lug {% endblock %} <span class="gray"> {% block blog_titulo %} trelew {% endblock %}</span></h1>			
			<h2 id="slogan">{% block blog_descripcion %} LuGEr The ultimate blogger mania {% endblock %} </h2>	
					
			<div id="header-tabs">
				<ul>
					<li><a href="/about"><span>About</span></a></li>
                	<li><a href="/blog"><span>Blogs</span></a></li>
                	<li><a href="/"><span>Home</span></a></li>
                	
                	{# USAR  <!--<li><a href="/"><span>Home</span></a></li> --> de esa forma #}
                	{% block extralinkheader %} {% endblock %}
			     
			     </ul>
			</div>				
			

		</div>
	  
	  
	  <!-- content-wrap starts here -->
	  <div id="content-wrap">
	  
	  		<div id="main"> 
	
				{% block content %}{% endblock %}
								
	  		</div> 	
			  
	  		<div id="sidebar">
							<!-- Nuevo CSS -->
			
			      {% if user.is_authenticated %}
                        <h1>Hola {{ user.username }}</h1>         
                        <ul class="sidemenu">
					       <li>{{ user.email }}</li>
					       <li><a href="/admin/"> Administraci&oacute;n </a></li>
                         </ul>
                  {% else %} 
                            <h1>Hola an&oacute;nimo</h1>
                            <ul class="sidemenu">
                                <li><a href="/admin" target="_blank">log in</a></li>
                            </ul>
                  {% endif %}
			
		    <!-- fin login-info -->
				<h1>Menu</h1>				
				<ul class="sidemenu">
					
					<li><a href="/">Home</a></li>
					<li><a href="/about">About</a></li>
					<li><a href="/blog">Blogs</a></li>
					{% block extra_sidebar_menu %} {% endblock %}						
      		    </ul>
				
				<!-- ESTO NO ESTA IMPLEMENTADO SOLO SE DEJA PARA MOSTRAR UN LINDO TEMPLATE --->				
				<h1>Search</h1>	
				<form method="post" id="search" action="http://www.djangoproject.com">
					<p>
					<input name="search_query" class="textbox" type="text" /> 
					<input name="search" class="searchbutton" value="Search" type="submit" />
					</p>
				</form>	
		
				{% block sidebar %} {% endblock %}
			</div>	
		
		
		</div> <!-- content-wrap ends here -->
		
		
		<div id="footer">
		
			<span id="footer-left">
				&copy; 2007 <strong>Lugtrelew</strong> | 
				Design by: <strong><a href="index.html">styleshout</a></strong> | 
				Valid: <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | 
				<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
			</span>		
			
			<span id="footer-right">
				<a href="/">Home</a> {% block extra_footer_links %} {% endblock %}   
			</span>
			
		</div>	

<!-- wrap ends here -->		
</div>	
</body>
</html>